<ion-header>
	<header>
		<div class="header_title">
			 经销商管理
		</div>
	</header>
</ion-header>

<ion-content>
 	<div   id='textarea_product' class="list_product" (click)="openModal({product: 'this.items'})">
		 	<div id="product">
		 		代理产品<span id="line"></span>
		 	</div>
		 	<div class="product_content">
		 		{{this.items.productName}}
		 	</div>
	</div>
  <!--*ngFor获取数据处-->
  <!--收货渠道-->
	<div padding id="padd">
	  <ion-segment [(ngModel)]="pet">
		<ion-segment-button value="收货渠道" class="segment-activated" aria-pressed="true" >
		  收货渠道
		</ion-segment-button>
		<ion-segment-button value="发货渠道" id="borderleft_none" (click)="dealerDeliver()">
		  发货渠道
		</ion-segment-button>
	  </ion-segment>
 	</div>
	<div [ngSwitch]="pet">
	  <ion-list *ngSwitchCase="'收货渠道'" >
			<div class="list_content" *ngFor="let item2 of items2">
				<div class="list_deliver" >
					<p>{{item2.companyName}}</p>
					<p>联系人: <span>{{item2.name}}</span><span id="tel">		电话: <span>{{item2.mobile}}</span>		</span>？？</p>
				</div>
			</div>
	  </ion-list>
	  <ion-list *ngSwitchCase="'发货渠道'" >
		   <div class="list_content" *ngFor="let item3 of items3" >
				<div class="list_deliver"  >
					<p>{{item3.companyName}}</p>
					<p>联系人: <span>{{item3.name}}</span><span id="tel">		电话: <span>{{item3.mobile}}</span>	</span></p>
				</div>
		   </div>
	  </ion-list>
	</div>
 	<!--//底部btn-->
 	<div class="addCountBtn">
		<p><button (click)="addTrench()"> + 添加发货渠道</button></p>			
	</div>
</ion-content>
